/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package meminin.naivebayes;

import java.util.HashMap;

/**
 *
 * @author Danang
 */
class NaiveBayesClassModel {
    HashMap<String, Double> value;
    
    public NaiveBayesClassModel() {
        value = new HashMap<String, Double>();
    }
    
    public void addKeyAndValue(String key, Double values) {
        value.put(key, values);
    }
    
    public Double getValueFromKey(String key) {
        return value.get(key);
    }
    
}
